package com.yearno.baseframe.dialog


import android.view.Window
import androidx.fragment.app.FragmentManager
import com.yearno.baseframe.R
import com.yearno.baseframe.base.BaseDialogFragment

class LoadingDialogFragment  : BaseDialogFragment(){

    override val layoutId = R.layout.base_dialog_loading

    override val canCancel = true
    override fun setWindowAttributes(window: Window?) {
        window?.setDimAmount(0f)//去除蒙版颜色
    }

    fun showDialog(manager: FragmentManager) {
        show(manager, tag)
    }
}